DS620 Digital Thermometer and Thermostat
6 of 15
the device enters a low-power standby state and remains in that state until a temperature conversion is again
initiated by a Start Convert command.
The R0 and R1 bits in the configuration register allow the user to set the conversion resolution to be 10, 11, 12, or
13 bits (0.5癈, 0.25癈, 0.125癈, and 0.0625癈 LSb weight, respectively) as shown in Table 6. The default
resolution at power-up is 13-bits. Note that the conversion time doubles for each additional bit of resolution.
After each conversion, the digital temperature is stored as a 16-bit twos complement number in the 2-byte
temperature register as shown in Figure 3. The temperature register is located in address spaces AAh (MSB) and
ABh (LSB) of the DS620 memory. The sign bit (S) indicates if the temperature is positive (S = 0) or negative (S =
1). Bits 2, 1, and 0 of the temperature register are hardwired to 0. When the device is configured for 13-bit
resolution, the 13 MSbs (bits 15 through 3) of the temperature register will contain temperature data. For 12-bit
resolution, the 12 MSbs (bits 15 through 4) of the temperature register will contain data, and bit 3 will be 0.
Likewise, for 11-bit resolution, the 11 MSbs (bits 15 through 5) will contain data, and for 10-bit the 10 MSbs (bits 15
through 6) will contain data, and all unused LSbs will contain 0s. Table 2 gives examples of 13-bit resolution output
data and the corresponding temperatures.
Figure 3. Temperature, T
H
, And T
L
Register Format
bit 15
bit 14
bit 13
Bit 12
bit 11
bit 10
bit 9
bit 8
MS Byte
S
2
7
2
6
2
5
2
4
2
3
2
2
2
1
bit 7
bit 6
bit 5
Bit 4
bit 3
bit 2
bit 1
bit 0
LS Byte
2
0
2
-1
2
-2
2
-3
2
-4
0
0
0
Table 2. 13-Bit Resolution Temperature/Data Relationship
Temperature (?/SPAN>C)
Digital Output (binary)
Digital Output (hex)
+125
0011 1110 1000 0000
3E80h
+25.0625
0000 1100 1000 1000
0C88h
+10.125
0000 0101 0001 0000
0510h
+0.5
0000 0000 0100 0000
0040h
0
0000 0000 0000 0000
0000h
-0.5
1111 1111 1100 0000
FFC0h
-10.125
1111 1010 1111 0000
FAF0h
-25.0625
1111 0011 0111 1000
F378h
-55
1110 0100 1000 0000
E480h
WRITING TO THE TEMPERATURE REGISTER
The user is given access to write to the DS620 temperature register. This feature can be used for system test and
debugging by allowing the user to force the temperature reading above or below fault thresholds without having to
heat or cool the device.
If data is written to the temperature register while conversions are in progress, the result of the next completed
conversion will overwrite any data that was written to the temperature register. Additionally, no update of the flag
bits in the configuration register, nor an update of the PO pin occur as a result of the temperature being written if a
conversion is taking place. To avoid this from happening, conversions should first be stopped before writing to the
temperature register. When writing to the temperature register, both the MSB and the LSB should be written. An
update of the flag bits and PO pin will only occur after the LSB has been written. See Writing to the DS620 for more
information.